Skip to content

Fix return type for subqueries in MySQL (#1383)#1404

Merged
kyleconroy merged 1 commit intosqlc-dev:mainfrom
dansimau:main
Jan 30, 2022
Merged

Fix return type for subqueries in MySQL (#1383)#1404
kyleconroy merged 1 commit intosqlc-dev:mainfrom
dansimau:main

Conversation

@dansimau
Copy link
Copy Markdown
Contributor

This fixes an issue where subqueries as columns in a select aren't handled properly in mysql.

Fixes #1383.

@kyleconroy kyleconroy merged commit 495be9d into sqlc-dev:main Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subquery with count as alias compiles to interface{} type [MySQL Only]

2 participants